package edu.zac.pojo;

/**
 * @Title
 * @Author Peihan.Zhang
 * @Email zhangpeihan@sjgtw.com
 * @Date 2021/10/22 21:31
 * @Versions 1.0
 */
public class Emp {
    private Integer id;
    private String name;
    private  String salary;

    public Emp(Integer id, String name, String salary) {
        this.id = id;
        this.name = name;
        this.salary = salary;
    }

    public Emp(){}

    @Override
    public String toString() {
        return "Emp{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", salary='" + salary + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }
}
